package com.binance.gateway.app.base.vo;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CommonArg implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 4164966859338043962L;

    @ApiModelProperty(value = "终端类型", required = true)
    private String clientType;
    @ApiModelProperty(value = "系统语言", required = true)
    private String language;
    @ApiModelProperty(value = "流水号")
    private String serialNo;
    @ApiModelProperty(value = "授权令牌", hidden = true)
    private String token;

    @ApiModelProperty(value = "ip地址", required = false)
    private String ip;
    @ApiModelProperty(value = "浏览器，web端必传", required = false)
    private String browser;

    @ApiModelProperty(value = "唯一设备标识", required = false)
    private String deviceId;

    @ApiModelProperty(value = "设备类型", required = false)
    private String deviceName;

    @ApiModelProperty(value = "版本号", required = false)
    private String version;

    @ApiModelProperty(value = "跟踪链", required = false)
    private String trackingChain;

    @ApiModelProperty(value = "域名", required = false)
    private String domain;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

}
